package com.songshuai.webapi.permission.dto.request;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class FunctionAddReqDto {
    //appId
    @NotNull(message = "appId不能为空")
    private Integer appId;
    //功能名字
    @NotBlank(message = "功能名称不能为空")
    private String functionName;
    //备注
    private String remark;
    //功能key
    @NotBlank(message = "功能key不能为空")
    private String functionKey;
}
